package cn.xuanxuanyuhua.crm.mapper;

import cn.xuanxuanyuhua.crm.domain.Customer;
import cn.xuanxuanyuhua.crm.query.QueryObject;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CustomerMapper {

    int insert(Customer record);


    List<Customer> selectAll(QueryObject qo);

    int updateByPrimaryKey(Customer record);

    void updateInfo(@Param("customerId") Long customerId, @Param("sellerId") Long sellerId,@Param("status") Integer status);
}